#include<stdio.h>
int getsum(int n)
{
	if (n == 1)
		return 1;
	int temp = getsum(n - 1);
	return temp + n;
}
int main() 
{
	int sum = getsum(4);
	printf("sum=%d\n", sum);
	return 0;
}